﻿@{
   
    int? index = null;
    if (!string.IsNullOrEmpty(Convert.ToString(ViewData["MenuIndex"])))
    {
        index = ViewData["MenuIndex"] as int?;
    }
    string courseId = string.Empty;
    if (!string.IsNullOrEmpty(Convert.ToString(ViewData["CourseId"])))
    {
        courseId = ViewData["CourseId"].ToString();
    }
    int? typeCode = null;
    if (!string.IsNullOrEmpty(Convert.ToString(ViewData["TypeCode"])))
    {
        typeCode = ViewData["TypeCode"] as int?;
    } 
}
<div class="container-fluid ye-nav m-nav mb15">
    <div class="container">
        <div class="row">
            <ul id="PublicNav">
                <li><a href="@Url.Action("CourseIntro", "Home")?CourseId=@courseId" class="@(index == 1 ? "current" : "")">课程首页</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1001&CourseId=@courseId" class="@(typeCode == 1001 ? "current" : "")">课程介绍</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1002&CourseId=@courseId" class="@(typeCode == 1002 ? "current" : "")">师资队伍</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1003&CourseId=@courseId" class="@(typeCode == 1003 ? "current" : "")">教学大纲</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1004&CourseId=@courseId" class="@(typeCode == 1004 ? "current" : "")">教学内容</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1005&CourseId=@courseId" class="@(typeCode == 1005 ? "current" : "")">教学视频</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1009&CourseId=@courseId" class="@(typeCode == 1009 ? "current" : "")">扩展学习</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1006&CourseId=@courseId" class="@(typeCode == 1006 ? "current" : "")">实验教学</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1007&CourseId=@courseId" class="@(typeCode == 1007 ? "current" : "")">教学评价</a></li>
                <li><a href="@Url.Action("CourseOtherInfoBrowse", "CourseOtherInfo")?TypeCode=1008&CourseId=@courseId" class="@(typeCode == 1008 ? "current" : "")">教学成果</a></li>
                <li><a href="@Url.Action("List","Assignment")?CourseId=@courseId" class="@(index == 10 ? "current" : "")">学生作业</a></li>
                <li><a href="~/Html/examinationTests.html?CourseId=@courseId" class="">在线测试</a></li>
                <li><a href="@Url.Action("List","Discussion")?CourseId=@courseId" class="@(index == 11 ? "current" : "")">讨论区</a></li>
                <li><a href="@Url.Action("Index", "Home")">返回课程群</a></li>
            </ul>
        </div>
    </div>
</div>

